package ace.cmp.converter.spring.core.impl;

import ace.cmp.converter.api.AceConverter;
import ace.cmp.converter.spring.core.BeanUtilsConverterImpl;
import ace.cmp.converter.spring.core.ConverterFactory;

/**
 * @author caspar
 * @date 2023/9/11 17:34
 */
public class ConverterFactoryImpl implements ConverterFactory {
  @Override
  public <S, T> AceConverter<S, T> create(Class<S> sClass, Class<T> tClass) {
    return new BeanUtilsConverterImpl<>(sClass, tClass);
  }
}
